package windbell.domain.risk.events;

import edu.fudan.mylang.pf.event.IEntityEventsListner;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;
import windbell.domain.risk.RiskCheckTemplate;
import windbell.domain.risk.RiskCheckTemplateItem;

public interface RiskCheckTemplateEventsListener extends IEntityEventsListner<RiskCheckTemplate> {
  public abstract void update(final RiskCheckTemplate entity, final Procedure1<? super RiskCheckTemplate> updater);
  
  public abstract void delete(final RiskCheckTemplate entity);
  
  public abstract void addCheckItem(final RiskCheckTemplate entity, final RiskCheckTemplateItem item);
}
